// SPDX-License-Identifier: (GPL-2.0+ or MIT)
/* Copyright(c) 2020 - 2023 Allwinner Technology Co.,Ltd. All rights reserved. */
/*
 * Copyright (C) 2022 liujuan1@allwinnertech.com
 */

#ifndef _DT_BINDINGS_RESET_SUN60IW1_H_
#define _DT_BINDINGS_RESET_SUN60IW1_H_

#define RST_BUS_NSI		0
#define RST_BUS_NSI_CFG		1
#define RST_MBUS		2
#define RST_BUS_SMMU_TCU	3
#define RST_BUS_SMMU_GPU1	4
#define RST_BUS_SMMU_AIPU	5
#define RST_BUS_SMMU_NPU	6
#define RST_BUS_SMMU_GPU0	7
#define RST_BUS_SMMU_PCIE1	8
#define RST_BUS_SMMU_PCIE0	9
#define RST_BUS_SMMU_MSI_LITE1	10
#define RST_BUS_SMMU_MSI_LITE0	11
#define RST_BUS_SMMU_USB3	12
#define RST_BUS_SMMU_GMAC1	13
#define RST_BUS_SMMU_GMAC0	14
#define RST_BUS_SMMU_DE1	15
#define RST_BUS_SMMU_DE0	16
#define RST_BUS_SMMU_VE_DEC1	17
#define RST_BUS_SMMU_VE_DEC0	18
#define RST_BUS_SMMU_VE_ENC1	19
#define RST_BUS_SMMU_VE_ENC0	20
#define RST_BUS_SMMU_G2D	21
#define RST_BUS_SMMU_DI		22
#define RST_BUS_SMMU_CSI_DMA1	23
#define RST_BUS_SMMU_CSI_DMA0	24
#define RST_BUS_SMMU_ISP	25
#define RST_BUS_SMMU_SY		26
#define RST_BUS_MSI_LITE0	27
#define RST_BUS_MSI_LITE1	28
#define RST_BUS_DMA0		29
#define RST_BUS_DMA1		30
#define RST_BUS_SPINLOCK	31
#define RST_BUS_MSGBOX0		32
#define RST_BUS_MSGBOX1		33
#define RST_BUS_MSGBOX2		34
#define RST_BUS_PWM0		35
#define RST_BUS_PWM1		36
#define RST_BUS_DBGSY		37
#define RST_BUS_SYSDAP		38
#define RST_BUS_TIMER0		39
#define RST_BUS_TIMER1		40
#define RST_BUS_DE0		41
#define RST_BUS_DE1		42
#define RST_BUS_DI		43
#define RST_BUS_G2D		44
#define RST_BUS_DE_SY		45
#define RST_BUS_VE_DEC		46
#define RST_BUS_VE_ENC1		47
#define RST_BUS_VE_ENC0		48
#define RST_BUS_CE_SY		49
#define RST_BUS_CE		50
#define RST_BUS_NPU_SY		51
#define RST_BUS_NPU_AHB		52
#define RST_BUS_NPU_AXI		53
#define RST_BUS_NPU_CORE	54
#define RST_BUS_AIPU_CORE	55
#define RST_BUS_AIPU		56
#define RST_BUS_GPU0		57
#define RST_BUS_DRAM0		58
#define RST_BUS_NAND0		59
#define RST_BUS_SMHC0		60
#define RST_BUS_SMHC1		61
#define RST_BUS_SMHC2		62
#define RST_BUS_SMHC3		63
#define RST_BUS_UFS_AXI		64
#define RST_BUS_UF		65
#define RST_BUS_UART0		66
#define RST_BUS_UART1		67
#define RST_BUS_UART2		68
#define RST_BUS_UART3		69
#define RST_BUS_UART4		70
#define RST_BUS_UART5		71
#define RST_BUS_UART6		72
#define RST_BUS_UART7		73
#define RST_BUS_UART8		74
#define RST_BUS_TWI0		75
#define RST_BUS_TWI1		76
#define RST_BUS_TWI2		77
#define RST_BUS_TWI3		78
#define RST_BUS_TWI4		79
#define RST_BUS_TWI5		80
#define RST_BUS_TWI6		81
#define RST_BUS_TWI7		82
#define RST_BUS_TWI8		83
#define RST_BUS_SPI0		84
#define RST_BUS_SPI1		85
#define RST_BUS_SPI2		86
#define RST_BUS_SPIF		87
#define RST_BUS_GPADC0		88
#define RST_BUS_GPADC1		89
#define RST_BUS_THS0		90
#define RST_BUS_IRRX		91
#define RST_BUS_IRTX		92
#define RST_BUS_LRADC		93
#define RST_BUS_LBC		94
#define RST_BUS_I2SPCM1		95
#define RST_BUS_I2SPCM2		96
#define RST_BUS_I2SPCM3		97
#define RST_BUS_I2SPCM4		98
#define RST_BUS_I2SPCM5		99
#define RST_BUS_SPDIF		100
#define RST_USB2_PHY0_RSTN	101
#define RST_USB2_OTG0		102
#define RST_USB2_EHCI0		103
#define RST_USB2_OHCI0		104
#define RST_USB2_PHY1_RSTN	105
#define RST_USB2_EHCI1		106
#define RST_USB2_OHCI1		107
#define RST_USB2_PHY2_RSTN	108
#define RST_USB2_EHCI2		109
#define RST_USB2_OHCI2		110
#define RST_USB3		111
#define RST_BUS_PCIE0		112
#define RST_BUS_PCIE0_PWRUP	113
#define RST_BUS_PCIE1		114
#define RST_BUS_PCIE1_PWRUP	115
#define RST_BUS_SERDE		116
#define RST_BUS_GMAC0_AXI	117
#define RST_BUS_GMAC0		118
#define RST_BUS_GMAC1_AXI	119
#define RST_BUS_GMAC1		120
#define RST_BUS_VO0_TCONLCD0	121
#define RST_BUS_VO0_TCONLCD1	122
#define RST_BUS_VO0_TCONLCD2	123
#define RST_BUS_VO0_TCONLCD3	124
#define RST_BUS_LVDS0		125
#define RST_BUS_LVDS1		126
#define RST_BUS_LVDS2		127
#define RST_BUS_DSI0		128
#define RST_BUS_DSI1		129
#define RST_BUS_TCONTV0		130
#define RST_BUS_TCONTV1		131
#define RST_BUS_TCONTV2		132
#define RST_BUS_EDP		133
#define RST_BUS_HDMI_HDCP	134
#define RST_BUS_HDMI_SUB	135
#define RST_BUS_HDMI_MAIN	136
#define RST_BUS_DPSS_TOP0	137
#define RST_BUS_DPSS_TOP1	138
#define RST_BUS_VIDEO_OUT0	139
#define RST_BUS_VIDEO_OUT1	140
#define RST_BUS_LEDC		141
#define RST_BUS_CSI		142
#define RST_BUS_VIDEO_IN	143

#endif /* _DT_BINDINGS_RESET_SUN60IW1_H_ */
